using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace Maticsoft.Web.Register.hospitalInstall
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					string HospitalInstall_ID= strid;
					ShowInfo(HospitalInstall_ID);
				}
			}
		}
		
	private void ShowInfo(string HospitalInstall_ID)
	{
		Maticsoft.BLL.Register.hospitalInstall bll=new Maticsoft.BLL.Register.hospitalInstall();
		Maticsoft.Model.Register.hospitalInstall model=bll.GetModel(HospitalInstall_ID);
		this.lblHospitalInstall_ID.Text=model.HospitalInstall_ID;
		this.lblHospital_ID.Text=model.Hospital_ID;
		this.lblHosptialInstall_StartRegistrationTime.Text=model.HosptialInstall_StartRegistrationTime.ToString();
		this.lblHosptialInstall_BeforeDay.Text=model.HosptialInstall_BeforeDay.ToString();
		this.lblHosptiallInstall_WorkTime.Text=model.HosptiallInstall_WorkTime;
		this.lblHosptiallInstall_AppointmentPhone.Text=model.HosptiallInstall_AppointmentPhone;
		this.lblHospitalInstall_AddTime.Text=model.HospitalInstall_AddTime.ToString();
		this.lblHospitalInstall_Recoder.Text=model.HospitalInstall_Recoder;

	}


    }
}
